package cn.autumnorange.app.common.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class BaseEntity extends AbstractPersistable {

    // delete为数据库关键属性无法使用
    private boolean isDelete;

    @Basic
    @Column(name = "isDelete", nullable = false)
    public boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(boolean isDelete) {
        this.isDelete = isDelete;
    }
    
}
